package internal

import (
	"github.com/name5566/leaf/gate"
	"lol.com/feb214-game/nest.git/leaf"
	"talent.com/cube/conf"
	"talent.com/cube/modules/game"
)

type Module struct {
	*gate.Gate
}

func (m *Module) OnInit() {
	m.Gate = leaf.NewGate(conf.ServerConfig().Server.WSAddr, game.ChanRPC)
}
